package com.wang.learn.cloudiot.service;

import com.wang.learn.cloudiot.model.po.Pile;

import java.util.Date;
import java.util.List;

/**
 * @author Chen Nan
 */
public interface PileService {
    int insertPile(Pile pile);

    List<Pile> list(Pile pile);

    Integer deleteAll(Date date);

    Integer update(Pile pile);
}
